import request from '../utils/request';

export function fetch({
    page = 1
}) {
    var ret = request(`/api/users?_page=${page}&_limit=5`);
    return ret;
}

export function remove(id) {
    return request(`/api/users/${id}`, {method: 'DELETE'});
}